package com.SunSoft.PhoneRemoteControl;

import android.graphics.ColorMatrixColorFilter;
import android.graphics.drawable.Drawable;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import android.widget.ImageView;

final class ce
  implements View.OnTouchListener
{
  public final boolean onTouch(View paramView, MotionEvent paramMotionEvent)
  {
    int i = 0;
    paramView = (ImageView)paramView;
    switch (paramMotionEvent.getAction())
    {
    default:
      i = 1;
    case 2:
      return i;
    case 0:
      paramMotionEvent = paramView.getDrawable();
      paramMotionEvent.setColorFilter(new ColorMatrixColorFilter(MainControl.a));
      paramView.setImageDrawable(paramMotionEvent);
      return false;
    case 1:
    }
    paramMotionEvent = paramView.getDrawable();
    paramMotionEvent.setColorFilter(new ColorMatrixColorFilter(MainControl.b));
    paramView.setImageDrawable(paramMotionEvent);
    return false;
  }
}